/*
 * @Descripttion: 公共接口, 用于上传图片
 * @Author: liuxiaoling
 * @Date: 2021-03-22 19:07:54
 * @LastEditors: liuxiaoling
 * @LastEditTime: 2021-04-17 18:11:32
 */

import qs from 'qs'
import request from '@/utils/request'

const uploadImg = {
  // 此方法已废弃，上传图片请使用 cosUpload.js 里的 cosUploadImg 方法
  // 上传图片
  /*uploadPhotos(params, type) {
    return request({
      url: `/api/upload/pic?img_type=${type}`,
      method: 'post',
      data: params,
      hideloading: true,
      headers: {
        'Content-Type': 'multipart/*'
      }
    })
  }*/
}

export default uploadImg
